package com.xinqi.common.log.syslog.enums;

import lombok.Getter;

/**
 * @version V1.0
 * @Title: 业务操作类型
 * @ClassName: com.xinqi.common.log.syslog.enums.BusinessType.java
 * @Description:
 * @Copyright 星齐科技（云南）有限公司 - Powered By 技术部
 * @author: yyzhen
 * @date: 2023/8/23 14:33
 */
public enum BusinessType {

    OTHER("other", "其它"),

    INSERT("insert", "新增"),

    UPDATE("update", "修改"),

    DELETE("delete", "删除"),

    GRANT("grant", "授权"),

    EXPORT("export", "导出"),

    IMPORT("import", "导入"),

    FORCE("force", "强退"),

    GEN_CODE("gen_code", "生成代码"),

    CLEAN("clean", "清空数据");

    @Getter
    private final String code;

    @Getter
    private final String describe;

    BusinessType(String code, String describe) {
        this.code = code;
        this.describe = describe;
    }

}
